package ru.pb.game.network.engine.client.packets.receivable;

import ru.pb.game.network.engine.client.packets.FromClientToGameServerPacket;

/**
 * i3NetworkPacket__WriteData(&v223, &v129, 1);
 * i3NetworkPacket__WriteData(&v223, a3, 4);
 * i3NetworkPacket__WriteData(&v223, a4, 1);
 * v130 = 0;
 * v127 = 0;
 * v128 = 0;
 * if ( a5 )
 * {
 * v126 = a5;
 * v130 = *(_DWORD *)(a5 + 8);
 * v127 = *(_DWORD *)a5;
 * v128 = *(_DWORD *)(a5 + 4);
 * }
 * i3NetworkPacket__WriteData(&v223, &v130, 4);
 * i3NetworkPacket__WriteData(&v223, &v127, 8);
 */
public class opcode_530_BUY_ITEM_REQ extends FromClientToGameServerPacket
{
	private int unk1, item, unk2, unk3;
	private long unk4;

	@Override
	public void readImpl()
	{
		readH(); // frost

		unk1 = readC();
		item = readD();
		unk2 = readC();

		unk3 = readD();
		unk4 = readQ();

		_log.info("unk1: " + unk1);
		_log.info("item: " + item);
		_log.info("unk2: " + unk2);
		_log.info("unk3: " + unk3);
		_log.info("unk4: " + unk4);
	}

	@Override
	public void runImpl()
	{
		// TODO Auto-generated method stub

	}
}
